package com.xiaoge.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
* @Author: 冷俊杰
* @Description: TODO
* @DateTime: 2022/11/9 20:01
**/
/**
    * 专区
    */
@Data
@TableName(value = "edu_zone")
public class EduZone {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Date gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private Date gmtModified;

    /**
     * 状态(1:正常;0:禁用)
     */
    @TableField(value = "status_id")
    private Byte statusId;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 名称
     */
    @TableField(value = "zone_name")
    private String zoneName;

    /**
     * 描述
     */
    @TableField(value = "zone_desc")
    private String zoneDesc;

    /**
     * 位置(0电脑端，1微信端)
     */
    @TableField(value = "zone_location")
    private Byte zoneLocation;

    public static final String COL_ID = "id";

    public static final String COL_GMT_CREATE = "gmt_create";

    public static final String COL_GMT_MODIFIED = "gmt_modified";

    public static final String COL_STATUS_ID = "status_id";

    public static final String COL_SORT = "sort";

    public static final String COL_ZONE_NAME = "zone_name";

    public static final String COL_ZONE_DESC = "zone_desc";

    public static final String COL_ZONE_LOCATION = "zone_location";
}